package com.miniprogram.api.service;

import com.miniprogram.bean.po.CustomerUser;
import com.miniprogram.bean.po.CustomerUserToken;
import com.miniprogram.common.service.BaseService;

/**
 * <p>
 * 顾客用户表 服务类
 * </p>
 *
 * @author lin
 * @since 2020-04-06
 */
public interface ICustomerUserService extends BaseService<CustomerUser> {

    CustomerUser getByOpenId(String openId);

    CustomerUserToken login(String account, String password);

    CustomerUser getByAccountAndPassword(String account, String password);
}
